﻿using System.Web.Security;

namespace MSAcademic.v2.Infrastructure.Utility
{
    public static class PasswordHashService
    {
        public static string CreatePasswordHash(string pwd)
        {
            var hashedPwd = FormsAuthentication.HashPasswordForStoringInConfigFile(pwd, "sha1");
            return hashedPwd;
        }
    }
}
